using Microsoft.Extensions.DependencyInjection;
using Services.Identity.Domain;
using Services.Identity.Domain.ISmsSender;
using Services.Identity.Infrastructure.Services;
using Zack.Commons;

namespace Services.Identity.Infrastructure;
public class ModuleInitializer : IModuleInitializer
{
    public void Initialize(IServiceCollection services)
    {
        services.AddScoped<IIdentityRepository, IdentityRepository>();
        services.AddScoped<IDomainService>();
        services.AddScoped<ISmsSender, MockSmsService>();
    }
}